﻿// Register the related commands.
var dialogPath = FCKConfig.PluginsPath + 'media/media.aspx';
var DialogCmd = new FCKDialogCommand( "Media Manager", "Media Manager", dialogPath, 600, 520 );
FCKCommands.RegisterCommand( 'media', DialogCmd ) ;

// Create the Flash toolbar button.
var oFlvPlayerItem		= new FCKToolbarButton( 'media', "Media Manager") ;
oFlvPlayerItem.IconPath	= FCKPlugins.Items['media'].Path + 'media.gif' ;

FCKToolbarItems.RegisterItem( 'media', oFlvPlayerItem ) ;			
// 'Flash' is the name used in the Toolbar config.

